package com.group.Service.Impl;

import com.group.DAO.PropertyTypeDAO;
import com.group.Enity.PropertyType;
import com.group.Service.PropertyService;
import com.group.Service.PropertyTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PropertyTypeServiceImpl implements PropertyTypeService {

    @Autowired
    private PropertyTypeDAO propertyTypeDAO;

    @Override
    public List<PropertyType> getTypes() {
        return propertyTypeDAO.getTypes();
    }
}
